﻿using System.Linq;
using AdventureWorks.Domain;
using NHibernate;
using AdventureWorks.DataAccess.SearchCriterias;
namespace AdventureWorks.DataAccess.repository
{
    public interface IVendorRepository
    {
        IQueryable<Vendor> GetVendors(ISession session, VendorSearchCriteria searchCriteria);
        void SaveVendor(ISession session, Vendor vendor);
    }
}
